package wrappers;

import java.util.List;

/**
 *
 * @author Alejandro
 */
public abstract class AbstractWrap implements Comparable {

    protected static int compareCase;
    protected static boolean isAscending;

    protected AbstractWrap() {
    }

    public abstract String getPrimaryKey();

    public abstract List<String> getHeaders();

    public abstract List<String> getCells();

    public static void setComparator(int compareBy, boolean sortAscending) {
        compareCase = compareBy;
        isAscending = sortAscending;
    }
}
